#include <iostream>

using namespace std;

#include "Jumpball.h"
#include "Event.h"

Jumpball::Jumpball() : Event()
{
//placeholder
}

Jumpball::Jumpball(string type, Time t) :Event (type, t)
{
//placeholder
}


bool Jumpball::assignValues()
{
bool inputCheck=true;
m_eventType="JB";
cin>>m_eventTime;
m_eventTime.reverseTime();
cin>>m_team;
	if(!m_eventTime.checkTimeInput())
	{	
	inputCheck=false;
	}	
	if((m_team!='H')&&(m_team!='h')&&(m_team!='A')&&(m_team!='a'))
	{
	inputCheck=false;
	}

return inputCheck;
}
